﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebUI.Models.Tables
{
    [Table("SystemParams")]
    public partial class SystemParam : BaseModel
    {
        /// <summary>
        /// 网站名称
        /// </summary>
        [Column, DisplayName("网站名称")]
        public string SiteName { get; set; } // text(2147483647)
        /// <summary>
        /// 标题
        /// </summary>
        [Column, DisplayName("网站标题")]
        public string SiteTitle { get; set; } // text(2147483647)
        /// <summary>
        /// 关键字
        /// </summary>
        [Column, DisplayName("关键字")]
        public string SiteKeywords { get; set; } // text(2147483647)
        /// <summary>
        /// 描述
        /// </summary>
        [Column, DisplayName("网站描述")]
        public string SiteDescription { get; set; } // text(2147483647)
        /// <summary>
        /// Logo
        /// </summary>
        [Column, DisplayName("网站Logo")]
        public string SiteLogo { get; set; } // text(2147483647)
        /// <summary>
        /// 网站域名
        /// </summary>
        [Column, DisplayName("网站域名")]
        public string SiteDomain { get; set; } // text(2147483647)
        /// <summary>
        /// ICP备案号
        /// </summary>
        [Column, DisplayName("ICP备案号")]
        public string ICP { get; set; } // text(2147483647)
        /// <summary>
        /// 电话
        /// </summary>
        [Column, DisplayName("电话")]
        public string Tel { get; set; } // text(2147483647)
        /// <summary>
        /// 传真
        /// </summary>
        [Column, DisplayName("传真")]
        public string Fax { get; set; } // text(2147483647)
        /// <summary>
        /// QQ
        /// </summary>
        [Column, DisplayName("QQ")]
        public string QQ { get; set; } // text(2147483647)
        /// <summary>
        /// 邮箱
        /// </summary>
        [Column, DisplayName("邮箱")]
        public string Email { get; set; } // text(2147483647)
        /// <summary>
        /// 产品每页显示数量
        /// </summary>
        [Column, DisplayName("产品每页显示数量")]
        public int DisplayProduct { get; set; } // integer
        /// <summary>
        /// 文章每页显示数量
        /// </summary>
        [Column, DisplayName("文章每页显示数量")]
        public int DisplayArticle { get; set; } // integer
        /// <summary>
        /// 留言板每页显示数量
        /// </summary>
        [Column, DisplayName("留言板每页显示数量")]
        public int DisplayGuestbook { get; set; } // integer
        /// <summary>
        /// 首页显示产品数量
        /// </summary>
        [Column, DisplayName("首页显示产品数量")]
        public int HomeDisplayProduct { get; set; } // integer
        /// <summary>
        /// 首页显示文章数量
        /// </summary>
        [Column, DisplayName("首页显示文章数量")]
        public int HomeDisplayArticle { get; set; } // integer
        /// <summary>
        /// 缩略图宽度
        /// </summary>
        [Column, DisplayName("缩略图宽度")]
        public float ThumbWidth { get; set; } // real
        /// <summary>
        /// 缩略图高度
        /// </summary>
        [Column, DisplayName("缩略图高度")]
        public float ThumbHeight { get; set; } // real
        /// <summary>
        /// 价格小数位
        /// </summary>
        [Column, DisplayName("价格小数位")]
        public int PriceDecimal { get; set; } // real
        /// <summary>
        /// 商品自定义属性
        /// </summary>
        [Column, DisplayName("商品自定义属性")]
        public string DefinedProduct { get; set; }
        /// <summary>
        /// 文章自定义属性
        /// </summary>
        [Column, DisplayName("文章自定义属性")]
        public string DefinedArticle { get; set; }
        /// <summary>
        /// 建站日期
        /// </summary>
        [Column, DisplayName("建站日期")]
        public DateTime BuildDate { get; set; } // text(2147483647)
        /// <summary>
        /// 网站程序版本
        /// </summary>
        [Column, DisplayName("网站程序版本")]
        public string Version { get; set; } // text(2147483647)
    }
}